package com.dongdong.service;

import com.dongdong.pojo.TbItem;
import com.dongdong.pojo.TbItemCat;

import java.util.List;

public interface ItemService {
    List<TbItemCat> selectInfo(Long parenId);

    List<TbItemCat> selectAll();

    TbItemCat selectById(Long id);

    int updateInfo(TbItemCat tbItemCat);

    int insert(TbItemCat tbItemCat);

    int deleteBatch(Long[] ids);

    List<TbItem> selectByGoodsId(Long goodsId);

    TbItem getItemById(Long itemId);
}
